package com.jhgsys.internal.common.configure;

import io.swagger.v3.oas.models.OpenAPI;
import io.swagger.v3.oas.models.info.Info;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class SwaggerConfiguration {



    @Bean
    public OpenAPI springOpenAPI() {
        return new OpenAPI().info(new Info().title("国内项目基础框架 API")
                .description("基于Swagger3的国内项目基础框架自动生成后台接口在线文档，支持在线测试。")
                .version("2.0")
        );
    }




}
